package marvin.webapp.common.action;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

@ManagedBean
@ViewScoped
public class NavigationAction extends AbstractWebAction{

	private static final long serialVersionUID = -3388599608119928501L;

	public String getShoppingURL(){
		if (isOnMobile()) {
			return "/page/shopping/mShopping.faces";
		} else {
			return "/page/shopping/shopping.faces";
		}
	}
}
